package cn.zhz.dao.provider;

import cn.zhz.pojo.Provider;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProviderMapper {
    public List<Provider> proList(@Param("proCode") String proCode,
                                  @Param("proName") String proName,
                                  @Param("currentPageNo") int currentPageNo,
                                  @Param("pageSize") int pageSize);

    public int proCount(@Param("proCode") String proCode, @Param("proName") String proName);


    public List<Provider> list();

    public int addProvide(Provider provider);

    public Provider ProView(@Param("id") String id);

    public int modifyPro(Provider provider);
}
